import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class Personagem here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Personagem extends Actor
{
    int x,y;
    /**
     * Act - do whatever the Personagem wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act() 
    {
        // Add your action code here.
    }
    
    public void atualizarX(){
        x = getX();
    }
    
    public void atualizarY(){
        y = getY();
    }
    
    public int pegarX(){
        return x;
    }
    
    public int pegarY(){
        return y;
    }
}
